add_entrypoint_object(
  epoll_create
  SRCS
    epoll_create.cpp
  HDRS
    ../epoll_create.h
  DEPENDS
    libc.include.sys_syscall
    libc.src.__support.OSUtil.osutil
    libc.src.errno.errno
)

add_entrypoint_object(
  epoll_create1
  SRCS
    epoll_create1.cpp
  HDRS
    ../epoll_create1.h
  DEPENDS
    libc.include.sys_syscall
    libc.src.__support.OSUtil.osutil
    libc.src.errno.errno
)

add_entrypoint_object(
  epoll_ctl
  SRCS
    epoll_ctl.cpp
  HDRS
    ../epoll_ctl.h
  DEPENDS
    libc.hdr.types.struct_epoll_event
    libc.hdr.sys_epoll_macros
    libc.include.sys_syscall
    libc.src.__support.OSUtil.osutil
    libc.src.errno.errno
)

add_entrypoint_object(
  epoll_wait
  SRCS
    epoll_wait.cpp
  HDRS
    ../epoll_wait.h
  DEPENDS
    libc.hdr.types.sigset_t
    libc.hdr.types.struct_epoll_event
    libc.hdr.types.struct_timespec
    libc.include.sys_syscall
    libc.src.__support.OSUtil.osutil
    libc.src.__support.macros.sanitizer
    libc.src.errno.errno
)

add_entrypoint_object(
  epoll_pwait
  SRCS
    epoll_pwait.cpp
  HDRS
    ../epoll_pwait.h
  DEPENDS
    libc.hdr.types.sigset_t
    libc.hdr.types.struct_epoll_event
    libc.hdr.types.struct_timespec
    libc.hdr.sys_epoll_macros
    libc.hdr.signal_macros
    libc.include.sys_syscall
    libc.src.__support.OSUtil.osutil
    libc.src.__support.macros.sanitizer
    libc.src.errno.errno
)

add_entrypoint_object(
  epoll_pwait2
  SRCS
    epoll_pwait2.cpp
  HDRS
    ../epoll_pwait2.h
  DEPENDS
    libc.hdr.types.sigset_t
    libc.hdr.types.struct_epoll_event
    libc.hdr.types.struct_timespec
    libc.hdr.sys_epoll_macros
    libc.hdr.signal_macros
    libc.include.sys_syscall
    libc.src.__support.OSUtil.osutil
    libc.src.__support.macros.sanitizer
    libc.src.errno.errno
)
